package com.better.frontend.model.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by wfm on 2018/1/6.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserParam {
    @NotEmpty(message = "原密码不能为空")
    String oldPassword;
    @NotEmpty(message = "新密码不能为空")
    String newPassword;
}
